import java.util.*;
public class col {
	
	public static void main(String[] args) {
		List<String> li=new ArrayList<String>();
		li.add("red");
		li.add("blue");
		li.add("green");
		System.out.println("colour present in the list"+li);
		System.out.println("size of the colour"+li.size());
		System.out.println("list contain"+li.contains("green"));
		System.out.println("remove color"+li.remove("red"));
		System.out.println(li.contains(1));
		
		}

	}

